﻿#include "login.h"
#include <QApplication>
#include<QFile>
#include "server/server.h"
#include "DataBase/dboperation.h"
#include "dialog/myhelper.h"
#include "form.h"
#include "itemselectpage.h"
#include "test/testdb.h"

/**
  pwd:xinyu123456
  pwd2:junshuo123
 * @brief main
 * @param argc
 * @param argv
 * @return
 */
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    QFile file(":/qss/style_yb.css");
    QString styleSheet;
    file.open(QFile::ReadOnly);
    styleSheet = QLatin1String(file.readAll());
    qApp->setStyleSheet(styleSheet);
    file.close();
    Server::instance();
//    ItemSelectPage w;
    Login w;
//    TestDB w;
    w.show();

    return a.exec();
}
